public class Study3  {
	/*对条件运算符（三目运算符）的探究*/
	public static void main (String[] args) {
		int score = 100;
		String type = score < 60 ? "不及格":"及格" ;
		System.out.println(type);

	}



	/*字符串连接符再探究*/
	public static void main3 (String[] args) {
		System.out.println("57-32 = "+(57-32)); // 25 
		// System.out.println("57-32 = "+ 57-23); // 报错，字符串无法减去数值；
	}



	/*字符串连接符*/
	public static void main2 (String[] args) {
		System.out.println("57 + 23 ="+57+23); // 57+23=5723
		System.out.println(57+23+"= 57 + 23"); // 80=57+23
		System.out.println("57 + 23 ="+(57+23)); // 57+23=80


	}



	/*位移运算符*/
	public static void main1 (String[] args) {
		/*String[] args 运行命令行参数*/
		System.out.println(11 >> 1); // 右移 相当于除法 11/(2^1) ;11/2= 5
		System.out.println(11 >> 2); // 11/4=2
		System.out.println(11 << 1); // 左移，相当于乘以 11*(2^2); 11*2 = 22
		System.out.println(11 << 2); // 11*2*2=44;

	}
}